package com.woniuxy.mapper;

import com.woniuxy.entity.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 25/08/07/星期四 14:30
 * @Component: 成都蜗牛学苑
 **/
@Repository
public interface GoodsMapper extends ElasticsearchRepository<Goods, String> {

    List<Goods> findAllByDescription(String content);
}
